home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / lib / partman / undo.d / 70unbackup < prev    next >
Text File  |  2009-10-28  |  186b  |  10 lines

  1. #!/bin/sh
  2.  
  3. [ -d /var/lib/partman/backup ] || exit 0
  4.  
  5. if [ -d /var/lib/partman/devices ]; then
  6.     rm -rf /var/lib/partman/devices
  7. fi
  8.  
  9. cp -a /var/lib/partman/backup /var/lib/partman/devices
  10.